// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./layout";
import router from "./router";

Vue.config.productionTip = false;

import ASUI from "awosome-ui";
import "awosome-ui/package/theme/index.css";
Vue.use(ASUI);

import comps from "./components";
Vue.use(comps);

import PhotoSphereViewer from "photo-sphere-viewer";
import "photo-sphere-viewer/dist/photo-sphere-viewer.css";

import vars from "./vars";
Vue.prototype.$vars = vars;

Vue.prototype.$PhotoSphereViewer = PhotoSphereViewer;

import store from "./store";

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  store,
  components: { App },
  template: "<App/>"
});
